home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / AIncludes / ColorPickerComponents.a < prev    next >
Encoding:
Text File  |  1996-01-24  |  4.8 KB  |  216 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        ColorPickerComponents.a
  3. ;
  4. ;    Contains:    Color Picker Component Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Package:    Universal Interfaces 2.2 in “MPW” on ETO #20
  8. ;
  9. ;    Copyright:    © 1984-1995 by Apple Computer, Inc.
  10. ;                All rights reserved.
  11. ;
  12. ;    Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13. ;                stack.  Include the file and version information (from above)
  14. ;                in the problem description and send to:
  15. ;                    Internet:    apple.bugs@applelink.apple.com
  16. ;                    AppleLink:    APPLE.BUGS
  17. ;
  18. ;
  19.  
  20.     IF &TYPE('__COLORPICKERCOMPONENTS__') = 'UNDEFINED' THEN
  21. __COLORPICKERCOMPONENTS__ SET 1
  22.  
  23.  
  24.     IF &TYPE('__COLORPICKER__') = 'UNDEFINED' THEN
  25.     include 'ColorPicker.a'
  26.     ENDIF
  27. ;        include 'Quickdraw.a'                                        ;
  28. ;            include 'Types.a'                                        ;
  29. ;                include 'ConditionalMacros.a'                        ;
  30. ;            include 'MixedMode.a'                                    ;
  31. ;            include 'QuickdrawText.a'                                ;
  32. ;        include 'Windows.a'                                        ;
  33. ;            include 'Memory.a'                                        ;
  34. ;            include 'Events.a'                                        ;
  35. ;                include 'OSUtils.a'                                ;
  36. ;            include 'Controls.a'                                    ;
  37. ;                include 'Menus.a'                                    ;
  38. ;        include 'Dialogs.a'                                        ;
  39. ;            include 'Errors.a'                                        ;
  40. ;            include 'TextEdit.a'                                    ;
  41. ;        include 'CMApplication.a'                                    ;
  42. ;            include 'Files.a'                                        ;
  43. ;                include 'Finder.a'                                    ;
  44. ;            include 'Printing.a'                                    ;
  45. ;            include 'CMICCProfile.a'                                ;
  46. ;        include 'Balloons.a'                                        ;
  47.  
  48.     IF &TYPE('__COMPONENTS__') = 'UNDEFINED' THEN
  49.     include 'Components.a'
  50.     ENDIF
  51.  
  52. kPickerComponentType            EQU        'cpkr'
  53.  
  54. kInitPicker                        EQU        0
  55. kTestGraphicsWorld                EQU        1
  56. kGetDialog                        EQU        2
  57. kGetItemList                    EQU        3
  58. kGetColor                        EQU        4
  59. kSetColor                        EQU        5
  60. kEvent                            EQU        6
  61. kEdit                            EQU        7
  62. kSetVisibility                    EQU        8
  63. kDrawPicker                        EQU        9
  64. kItemHit                        EQU        10
  65. kSetBaseItem                    EQU        11
  66. kGetProfile                        EQU        12
  67. kSetProfile                        EQU        13
  68. kGetPrompt                        EQU        14
  69. kSetPrompt                        EQU        15
  70. kGetIconData                    EQU        16
  71. kGetEditMenuState                EQU        17
  72. kSetOrigin                        EQU        18
  73. kExtractHelpItem                EQU        19
  74.  
  75. ;
  76. ; pascal long InitPicker(ComponentInstance thePicker, PickerInitData *data)
  77. ;
  78.     IF GENERATINGCFM THEN
  79.         IMPORT_CFM_FUNCTION    InitPicker
  80.     ENDIF
  81.  
  82. ;
  83. ; pascal DialogPtr GetDialog(ComponentInstance thePicker)
  84. ;
  85.     IF GENERATINGCFM THEN
  86.         IMPORT_CFM_FUNCTION    GetDialog
  87.     ENDIF
  88.  
  89. ;
  90. ; pascal long TestGraphicsWorld(ComponentInstance thePicker, PickerInitData *data)
  91. ;
  92.     IF GENERATINGCFM THEN
  93.         IMPORT_CFM_FUNCTION    TestGraphicsWorld
  94.     ENDIF
  95.  
  96. ;
  97. ; pascal long GetTheColor(ComponentInstance thePicker, ColorType whichColor, PMColorPtr color)
  98. ;
  99.     IF GENERATINGCFM THEN
  100.         IMPORT_CFM_FUNCTION    GetTheColor
  101.     ENDIF
  102.  
  103. ;
  104. ; pascal long SetTheColor(ComponentInstance thePicker, ColorType whichColor, PMColorPtr color)
  105. ;
  106.     IF GENERATINGCFM THEN
  107.         IMPORT_CFM_FUNCTION    SetTheColor
  108.     ENDIF
  109.  
  110. ;
  111. ; pascal long DoEvent(ComponentInstance thePicker, EventData *data)
  112. ;
  113.     IF GENERATINGCFM THEN
  114.         IMPORT_CFM_FUNCTION    DoEvent
  115.     ENDIF
  116.  
  117. ;
  118. ; pascal long DoEdit(ComponentInstance thePicker, EditData *data)
  119. ;
  120.     IF GENERATINGCFM THEN
  121.         IMPORT_CFM_FUNCTION    DoEdit
  122.     ENDIF
  123.  
  124. ;
  125. ; pascal long SetVisibility(ComponentInstance thePicker, Boolean visible)
  126. ;
  127.     IF GENERATINGCFM THEN
  128.         IMPORT_CFM_FUNCTION    SetVisibility
  129.     ENDIF
  130.  
  131. ;
  132. ; pascal long DisplayPicker(ComponentInstance thePicker)
  133. ;
  134.     IF GENERATINGCFM THEN
  135.         IMPORT_CFM_FUNCTION    DisplayPicker
  136.     ENDIF
  137.  
  138. ;
  139. ; pascal long ItemHit(ComponentInstance thePicker, ItemHitData *data)
  140. ;
  141.     IF GENERATINGCFM THEN
  142.         IMPORT_CFM_FUNCTION    ItemHit
  143.     ENDIF
  144.  
  145. ;
  146. ; pascal long GetItemList(ComponentInstance thePicker)
  147. ;
  148.     IF GENERATINGCFM THEN
  149.         IMPORT_CFM_FUNCTION    GetItemList
  150.     ENDIF
  151.  
  152. ;
  153. ; pascal long SetBaseItem(ComponentInstance thePicker, short baseItem)
  154. ;
  155.     IF GENERATINGCFM THEN
  156.         IMPORT_CFM_FUNCTION    SetBaseItem
  157.     ENDIF
  158.  
  159. ;
  160. ; pascal CMProfileHandle GetTheProfile(ComponentInstance thePicker)
  161. ;
  162.     IF GENERATINGCFM THEN
  163.         IMPORT_CFM_FUNCTION    GetTheProfile
  164.     ENDIF
  165.  
  166. ;
  167. ; pascal long SetTheProfile(ComponentInstance thePicker, CMProfileHandle profile)
  168. ;
  169.     IF GENERATINGCFM THEN
  170.         IMPORT_CFM_FUNCTION    SetTheProfile
  171.     ENDIF
  172.  
  173. ;
  174. ; pascal long GetPrompt(ComponentInstance thePicker, Str255 prompt)
  175. ;
  176.     IF GENERATINGCFM THEN
  177.         IMPORT_CFM_FUNCTION    GetPrompt
  178.     ENDIF
  179.  
  180. ;
  181. ; pascal long SetPrompt(ComponentInstance thePicker, Str255 prompt)
  182. ;
  183.     IF GENERATINGCFM THEN
  184.         IMPORT_CFM_FUNCTION    SetPrompt
  185.     ENDIF
  186.  
  187. ;
  188. ; pascal long GetIconData(ComponentInstance thePicker, PickerIconData *data)
  189. ;
  190.     IF GENERATINGCFM THEN
  191.         IMPORT_CFM_FUNCTION    GetIconData
  192.     ENDIF
  193.  
  194. ;
  195. ; pascal long GetEditMenuState(ComponentInstance thePicker, PickerMenuState *mState)
  196. ;
  197.     IF GENERATINGCFM THEN
  198.         IMPORT_CFM_FUNCTION    GetEditMenuState
  199.     ENDIF
  200.  
  201. ;
  202. ; pascal long SetTheOrigin(ComponentInstance thePicker, Point where)
  203. ;
  204.     IF GENERATINGCFM THEN
  205.         IMPORT_CFM_FUNCTION    SetTheOrigin
  206.     ENDIF
  207.  
  208. ;
  209. ; pascal long ExtractHelpItem(ComponentInstance thePicker, short itemNo, short whichMsg, HelpItemInfo *helpInfo)
  210. ;
  211.     IF GENERATINGCFM THEN
  212.         IMPORT_CFM_FUNCTION    ExtractHelpItem
  213.     ENDIF
  214.  
  215.     ENDIF ; __COLORPICKERCOMPONENTS__
  216.